require 'minitest/autorun'
require_relative '../lib/unswear'

class UnswearTest < Minitest::Test
	def test_censor
		'oh shit'.censor
	end

	def test_swear?
		'fuck this'.swear?
	end

	# alias for #swear?
	def test_curse?
		'fuck that'.curse?
	end

	def test_words
		Unswear.words
	end

	def test_version
		Unswear.version
	end
end
